module.exports = `
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Koa Server HTMl</title>
    <link href="../css/doc.css" rel="stylesheet">
  </head>
  <body>
  	<div id="doc-container">
			<header>
				<div class="doc-header"><a href="">返回</a></div>
			</header>
			<section>
				<nav>
					<div class="doc-nav">
					<h1><%= nav.topic %></h1>
					<% nav.children.forEach(function(item){ %>
						<ul>
							<li>
								<h2><%= item.title %></h2>
								<% item.subTitle.forEach(function(item2){ %>
									<ul>
										<li><%= item2 %></li>
									</ul>
								<% }) %>
							</li>
						</ul>
					</div>
				</nav>
				<article>
					<div class="doc-article"></div>
				</article>
			</section>	
		</div>
  </body>
</html>
`